/*
 * Copyright (c) 2009, Servoy-stuff
 * 
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 * 
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 * http://www.fsf.org/licensing/licenses/lgpl.txt
 */
package net.stuff.servoy.beans.slider;

import com.servoy.j2db.dataui.IServoyAwareBean;
import com.servoy.j2db.ui.IComponent;

/**
 * 
 * @author Servoy Stuff
 * http://www.servoy-stuff.net/
 */
public interface IServoySliderBean extends IComponent, IServoyAwareBean {
	
	public static final String LUNA_STYLE = "luna";
	public static final String SWING_STYLE = "swing";
	public static final String BLUECURVE_STYLE = "bluecurve";

	public void setFocusable(boolean focusable);
	public boolean isFocusable();
	
	public void setOrientation(int orientation);
	public int getOrientation();
	
	public void setPaintLabels(boolean paintLabels);
	public boolean getPaintLabels();
	
	public void setPaintTicks(boolean paintTicks);
	public boolean getPaintTicks();
	
	public void setPaintTrack(boolean paintTrack);
	public boolean getPaintTrack();
	
	public void setSnapToTicks(boolean snapToTicks);
	public boolean getSnapToTicks();
	
	public void setDataProviderID(String dataProviderID);
	public String getDataProviderID();
	
	public void setPrecision(int precision);
	public int getPrecision();
	
	public void setUsingDecimals(boolean usingDecimals);
	public boolean isUsingDecimals();
	
	public void setInverted(boolean inverted);
	public boolean getInverted();

	public void setMajorTicks(int majorTicks);
	public int getMajorTicks();
	
	public void setMinorTicks(int minorTicks);
	public int getMinorTicks();

	public void setMaximumValue(int maximumValue);
	public int getMaximumValue();
	
	public void setMinimumValue(int minimumValue);
	public int getMinimumValue();
	
	public void setToolTipMessage(String toolTipMessage);
	public String getToolTipMessage();
	
	public void setCurrentValue(int currentValue);
	public int getCurrentValue();
	
	public void setWebStyleType(String webStyleType);
	public String getWebStyleType();
	
	public String getOnDataChange();
	public void setOnDataChange(String onDataChange);
		
}
